/**
 * 设备管理 - 系统配置路由
 */
import Layout from '@/layout'

// 基础数据路由
const sysDeviceRoutes = {
  path: '/device',
  component: Layout,
  redirect: '/device/sysDevice',
  name: '设备管理',
  meta: {
    title: '设备管理',
    icon: 'example',
    rightsKey: '/device'
  },
  children: [
    {
      path: 'sysDevice',
      meta: { title: '设备管理', rightsKey: '/device/sysDevice' },
      name: 'sysDevice',
      component: () => import('@/views/device/sysDevice')
    }, {
      path: 'updateDevice',
      meta: { title: '编辑设备', hidden: true },
      name: 'UpdateDevice',
      component: () => import('@/views/device/saveAndEditSysDevice')
    }
  ]
}
export { sysDeviceRoutes }
